package com.qys.livesMall.app.user.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/05/22
 * Time: 10:14
 * DESCRIPTION:
 */
@Data
public class AppUserEditDTO {

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "性别(0男,1女,2未知)")
    private Integer gender;

    @Schema(description = "个人介绍")
    private String personalIntroduction;

    @Schema(description = "生日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "id", hidden = true)
    private String id;
}
